<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

<head>
	 <!-- 这里引入导航信息header.tpl -->
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>监管报告下载</title>
</head>
<script type="text/javascript">
var regulatoryReportPath = <%=context%> +'business/regulatoryReport';
var todoPath = '<%=context%>' +'business/myHome/todoAndOutput/';
//默认加载
$(function(){
	//把访问路径传到js
	setRegulatoryReportPath(regulatoryReportPath);
	setPathPreTodo(todoPath);
});
</script>
<body class="sub-page">
	<form name="regulatoryReportForm"  id="regulatoryReportForm" action="" method="post"  class="form-horizontal">
	 	<fieldset>
	 		<div class="page-content">
			    <div class="page-header" style="font-weight: bold;">
					<span class="form-title">监管报告下载</span>
			    </div>
			    <div class="page-body">
			    	<div class="form-group">
						<label class="col-sm-2 control-label">监管机构<span
							class="text-danger"></span></label>
						<div class="col-sm-10 form-inner">
							<c:forEach var="inst" items="${instList}"> 
								<input type="checkbox" name="instId" value="${inst.instId }"  checked="checked"/>${inst.instSName }&nbsp;
							</c:forEach>
						</div>
					</div>
					
					<div class="form-group" id="year_group">
						<label class="col-sm-2 control-label">报告日期<span
							class="text-danger"></span></label>
						<div class="col-sm-10 form-inner">
							<input type="text" class="form-control" placeholder="日期" id="reportDate" disabled="disabled" name="reportDate" value="${sp.sp.reportTimeBeg}&nbsp;-&nbsp;${sp.sp.reportTimeEnd }"/>
						</div>
					</div>	
				</div> 					
				<div class="page-footer" >
					<button type="button" id="submitBtn" class="btn btn-primary btn-save btn-loading btn-w-xs" data-loading-text="<i class='ico-loading'></i>" onclick="down();">下载</button>
					<button type="button" id="cancelBtn" class="btn btn-link btn-w-xs" onclick="window.close();">取消</button>
				</div>
			</div>
		</fieldset>
	</form>
	<script type="text/javascript" src="<%=context%>resources/modules/business/infoDisclosure/regulatoryReport/regulatoryReportDown.js?r=<%=Math.random()%>"></script>
	</body>
</html>